package edu.jsnu.purchase.ticket.service;

import edu.jsnu.service.ticket.user.domain.User;

public interface UserService {

    User getUserInfoByName(String userName);

    User register(String userName, String password);

    Boolean paySuccess(Integer orderId, Integer userId, Double money, String seatNumber, Integer scheduleId);

    User getUserById(Integer userId);

    Integer updateUser(User user);

    User recharge(Integer userId, Double money);
}
